SET JAVA_HOME=%~dp0jre18071
 

set  RESIN-HOME=%~dp0resin-4.0.22
 

set classpath=%classpath%;%RESIN-HOME%\lib\jasper.jar;%RESIN-HOME%\lib\javaee-16.jar;%RESIN-HOME%\lib\resin.jar
rem 3,配置classpath %RESIN-HOME%\lib\resin.jar (如果是win7的话没必要设置)
rem  否则报异常：com.caucho.loader.SystemClassLoader
rem  否则报异常：com.caucho.loader.SystemClassLoader
rem %RESIN-HOME%\resin.exe console  -resin-home %RESIN-HOME% --debug-port 8000
rem -Djava.ext.dirs="%~dp0lib;%dp0liblib"  not need ,cause resin web app,can find auto
rem SET JAVA_HOME=d:\jdk1.8.0_51
 "%JAVA_HOME%\bin\java"  -Dapptype="jobus"  -Dprj="jobus" -Dsubprj="game"    -Dcfgfile="cfg_game.properties"   -Dmvccfg="urlrewriting_game.txt" -Dioccfg="aaaCfg.Ioc4game"  -Dresin.server=1 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader -Djava.endorsed.dirs="%java_home%\jre\lib\endorsed;%RESIN-HOME%\endorsed" -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true -Dresin.home=/%RESIN-HOME% -Xss1m -Xmx556m -Xrs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 com.caucho.server.resin.Resin --root-directory /%RESIN-HOME% -conf %RESIN-HOME%\conf\resin.xml   -resin-home /%RESIN-HOME% -root-directory /%RESIN-HOME% console -debug-port 8000 
 
 